package com.aos.erp.gov.ex.service.remote;

import com.aos.erp.gov.ex.model.ro.AddStudentExamRo;
import com.aos.erp.gov.ex.model.ro.AddStudentFieldRo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

@FeignClient(name = "${erp-school-server:ERP-SCHOOL-SERVICE}", url = "${erp-school-server-url:}")
public interface StudentExamService {

    @RequestMapping(value = "/service/studentExam/add", method = RequestMethod.POST)
    boolean addStudentExamYK(List<AddStudentExamRo> ro);

    @RequestMapping(value = "/service/studentField/add", method = RequestMethod.POST)
    boolean addStudentExamResult(List<AddStudentFieldRo> ro);

}